Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

AS7-6390 I think this is the most generic way of dealing with this probl...#1

Open
jjromannet wants to merge 1 commit intojboss:trunkfrom
jjromannet:trunk
Open

AS7-6390 I think this is the most generic way of dealing with this probl...#1
jjromannet wants to merge 1 commit intojboss:trunkfrom
jjromannet:trunk

Conversation

@jjromannet
Copy link
Copy Markdown

IMHO There is a problem with "http://xml.org/sax/features/namespace-prefixes" feature of SAX parser. When it is set to true attribute list of first element contains namespace definitions, moreover these attributes have parameters set incorrectly (at least AFAIK). So ...
there are parameters like:
{qname="xmlns:wsdl", uri="", local=""}
while it suppose to be:
{qname="xmlns:wsdl", uri="http://www.w3.org/2000/xmlns/", local="wsdl"}

Returning this namespace definitions as attributes causing they are processed once as "raw" attributes and then as namespace definitions. XALAN is checking for duplicated attributes based only on URI and local - so these two are different for IT.

I added lookup on qname if such URI/LOCAL lookup failed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants